package palindrome;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Reader {

    public static String readFromConsole() {
        String value = new String();
        BufferedReader reader = null;
        try {
            reader = new BufferedReader(new InputStreamReader(System.in));
            value = reader.readLine();
        } catch (IOException e) {
            e.printStackTrace();
        }
        return value;
    }
}